﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>InfoBus Digital Signature ActiveX Control</title>
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="0">
		<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=UTF-8">
		<style>
		    div{font-size:11px;font-family:verdana;}
		    td{font-size:11px;font-family:verdana;}
		    input{font-size:11px;font-family:verdana;}
		</style>
		<base target="_self">
		<!-- //CID //1535 //2013.01.12 //Init -->
	</head>
	<body style='padding: 0; margin: 0;' onload="DoLoad();">
		<script>
		    function DoLoad() {
		        window.returnValue = false;
		    }
		    function ToggleAgree() {
		        var agreeCheck = document.getElementById("AgreeCheck");
                var installButton = document.getElementById("InstallButton");
                if (agreeCheck.checked) {
                    installButton.disabled = false;
                } else {
                    installButton.disabled = true;
                }
            }
            function DoInstall() {
		        var container = document.getElementById("ControlContainer");
		        container.innerHTML = "<object id='DSign' height='1' width='1' classid='clsid:{B2E76105-8908-C543-18FE-A45416CE1DBF}' codebase='InfoBus Digital Signature.cab#version=1,0,0,0' VIEWASTEXT></object>";
		    }
		    function OnSignatureActiveXControlReady() {
		        window.returnValue = true;
		        window.opener = null;
		        window.close();
            }
		    function DoCancel() {
		        window.returnValue = false;
		        window.opener = null;
		        window.close();
		    }
		</script>
        <div>
            <iframe style="width:100%;height:300px;" src="signature_license_file.htm"></iframe>
        </div>
        <div>
            &nbsp;
        </div>
        <div>
            &nbsp;<input type="checkbox" onclick="ToggleAgree();" id="AgreeCheck" value=""/>I Agree. 
        </div>
        <div>
            &nbsp;
        </div>
        <div style="float:right;text-align:right;">
            <input type="button" onclick="DoInstall();" style="width:70px;" id="InstallButton" disabled="disabled" value="Install"/>
            <input type="button" onclick="DoCancel();" style="width:70px;" value="Cancel"/>
        </div>
        <div id="ControlContainer" style="width:300px;overflow:hidden;">
            &nbsp;
        </div>
	</body>
</html>
